<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path;
%>

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>明日科技有限公司</title>
    <link href="<%=request.getContextPath()%>/statics/front/css/main.css" rel="stylesheet" type="text/css">
    <link href="<%=request.getContextPath()%>/statics/front/css/container.css" rel="stylesheet" type="text/css">
    <link href="<%=request.getContextPath()%>/statics/front/css/reset.css" rel="stylesheet" type="text/css">
    <link href="<%=request.getContextPath()%>/statics/front/css/screen.css" rel="stylesheet" type="text/css">
    <script src="<%=request.getContextPath()%>/statics/front/js/jquery.min.js"></script>
    <script src="<%=request.getContextPath()%>/statics/front/js/tab.js">
    </script>
</head>

<body>
<%@ include file="common_header.jsp" %>

<!--banner-->
<div class="second_banner">
    <img src="img/3.gif" alt="">
</div>
<!--//banner-->
<!--新闻-->
<div class="container">
    <div class="left">
        <div class="menu_plan">
            <div class="menu_title">公司动态<br><span>news of company</span></div>
            <ul id="tab">
                <li><a href="#">公司新闻</a></li>
            </ul>
        </div>
    </div>
    <div class="right">
        <div class="location">
            <span>当前位置：<a href="javascript:void(0)" id="a"><a href="#">公司新闻</a></a></span>
            <div class="brief" id="b"><a href="#">公司新闻</a></div>
        </div>
        <div style=" font-size:14px; margin-top:53px; line-height:36px;">
            <div id="tab_con">
                <div id="tab_con_2" class="dis-n">
                    <table style="margin-top:70px">
                        <thead>
                            <tr class="tt_bg">
                                <th>
                                    新闻标题1
                                </th>
                                <th>
                                    发布人
                                </th>
                                <th>
                                    发布时间
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                        <c:choose>
                            <c:when test="${not empty news}">
                                <c:forEach items="${news}" var="item">
                                    <tr>
                                        <td>${item.NewsTitle}</td>
                                        <td>${item.AdminName}</td>
                                        <td>${item.NewsTime}</td>
                                    </tr>
                                </c:forEach>
                            </c:when>
                            <c:otherwise>
                                <tr height="20">
                                    <td colspan="3"><div align="center"><b>没有记录1!</b></div></td>
                                </tr>
                            </c:otherwise>
                        </c:choose>
                        </tbody>
                    </table>
                </div>

            </div>
        </div>
    </div>
</div>
<!--//新闻-->
<!--底部-->
<%@ include file="common_footer.jsp" %>

</body>

<!--//底部-->
<script>
    tabs("#tab", "active", "#tab_con");
</script>

